package client

import (
	"common/rabbitmq"
	// "fmt"
	"task/config"
	"task/form"
)

var MQ rabbitmq.RabbitMQ

func Register() {
	// fmt.Println(MQ)
	MQ.Connect(&config.Conf.RabbitMQ)
}

func GetRequest() *form.ApiData {
	result := new(form.ApiData)
	result.CallBack = "http://www.knowbox.cn"
	result.ImgUrl = "http://7xohdn.com2.z0.glb.qiniucdn.com/enpk/quespic/box.png"
	return result
}
